article {
    font-family: 微软雅黑;
    width: 820px;
    margin: 10px auto 0;
    /*background-color: red;*/
}

article #app {
    display: flex;
    height: 560px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
}

article .main {
    flex-grow: 1;
    position: relative;
    padding-bottom: 120px;
    background-color: rgb(245, 245, 245);
}

.main .header, .user-info .header {
    border-bottom: 1px solid #ddd;
    height: 50px;
    line-height: 50px;
    padding-left: 20px;
    font-size: 18px;
    font-weight: 500;
    color: #000;
}

.main .header .notice {
    font-size: 14px;
    margin-left: 40px;
    width: 50%;
    color: #049440;
}
.main .msg-content {
    max-height: 390px;
    min-height: 390px;
    max-width: 575px;
    min-width: 575px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 20px;
    box-sizing: border-box;
}

.main .msg-content .msg-item {
    display: flex;
}

.main .msg-content .msg {
    flex-grow: 1;
    box-sizing: border-box;
    padding-left: 10px;
}
.main .msg-content .msg .nickname {
    font-weight: bold;
    font-family: 微软雅黑;
    font-size: 14px;
}

.main .msg-content .msg .content {
    font-family: 微软雅黑;
    font-size: 14px;
    line-height: 16px;
    background-color: #fff;
    border-radius: 3px;
    display: inline-block;
    padding: 6px 10px;
}

.main .msg-content .msg .content img {
    max-width: 400px;
}

article .main .input-wrapper {
    width: 100%;
    height: 120px;
    position: absolute;
    bottom: 0;
    border-top: 1px solid #ddd;
    background-color: #fff;
}

.input-wrapper .toolbar {
    height: 40px;
    padding-left: 20px;
    padding-top: 9px;
    box-sizing: border-box;
    position: relative;
}

.input-wrapper .toolbar span {
    margin-right: 10px;
    width: 22px;
    height: 22px;
    line-height: 22px;
}

.input-wrapper .toolbar span:hover {
    cursor: pointer;
}

.input-wrapper .toolbar span img {
    width: 22px;
    height: 22px;
    line-height: 22px;
    vertical-align: top;
    border-radius: 50%;
}

.input-wrapper .input {
    /*background-color: red;*/
    padding: 0 20px 10px;
    box-sizing: border-box;
    display: flex;
}

.input-wrapper .input .textarea {
    flex-grow: 1;
    height: 65px;
    font-size: 14px;
    font-family: 微软雅黑;
    overflow-y: scroll;
}

.input-wrapper .input .textarea img {
    width: 22px;
}

.input-wrapper .input button {
    min-width: 60px;
    max-width: 60px;
    margin-left: 10px;
}

.user-info .user-item {
    padding: 20px;
    box-sizing: border-box;
    overflow-y: scroll;
    color: #333;
}

.user-item ul {
    display: flex;
    font-size: 12px;
    line-height: 28px;
}

.user-item ul .nickname {
    margin: 0 10px;
}

article .user-info {
    flex-grow: 0;
    min-width: 242px;
    max-width: 242px;
    background-color: rgb(229, 229, 229);
}

/** emoji  **/
/* 表情面板 */
#emoji-board {
    position: absolute;
    width: 474px;
    height: 292px;
    background-color: #fff;
    bottom: 36px;
    left: -100px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
    border-radius: 3px;
    /*padding: 15px;*/
    box-sizing: border-box;
    display: none;
}
#emoji-board .emoji-wrapper {
    box-sizing: border-box;
    padding: 15px 15px 32px;
    /*background-color: green;*/
}
#emoji-board .emoji-wrapper ul li {
    display: inline-block;
}
#emoji-board .toolbar {
    box-sizing: border-box;
    position: absolute;
    height: 42px;
    width: 100%;
    border-top: 1px solid #ddd;
    padding: 4px 15px 5px;
    bottom: 0px;
    /*background-color: red;*/
}
#emoji-board .toolbar ul {
    box-sizing: border-box;
}

#emoji-board .toolbar ul li {
    display: inline-block;
    height: 32px;
    width: 32px;
    text-align: center;
    line-height: 32px;
    padding-top: 4px;
    box-sizing: border-box;
}
#emoji-board .toolbar ul .add{
    position: relative;
}

#emoji-board .toolbar ul .add-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}
#emoji-board .toolbar ul .add:hover{
    cursor: pointer;
}
/* 表情面板结束 */